@import "../../assets/styles/theme.module.scss";
.dashboard_loading {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba($color: #000, $alpha: 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1200;
  .loading_progress {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #fff #fff transparent transparent;
    animation: rotate 1s linear infinite;
    &::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      border: 3px solid;
      border-color: transparent transparent $error $error;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      transform-origin: center center;
      animation: rotate_after 0.5s linear infinite;
    }
    &::before {
      display: inline-block;
      content: "";
      border: 3px solid;
      border-color: #fff transparent transparent #fff;
      position: absolute;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      transform-origin: center center;
      animation: rotate 1s linear infinite;
    }
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate_after {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-360deg);
  }
}
